<?php


namespace app\blog\model;


use think\Model;

class GoodsModel extends Model
{
    protected $name = 'goods';
    protected $autoWriteTimestamp = 'Y-m-d H:i:s';
    public function getPhotosUrlAttr($value){
        return explode(',',$value);
    }
}